import {createApp} from 'vue'
import App from './App.vue'
import '@/assets/css/icon.css'
import router from './router'
import pinia  from './store/pinia'

import i18n from './lang'
import copy from './directive/clipboard'
import './permission.js'
import 'github-markdown-css'
import './mock/index.js'

let app = createApp(App)
app.directive('copy',copy)
app.use(i18n)

app.use(router).use(pinia).mount('#app')